P E E K s   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   
 
 P E E K ( 2 3 )   R e t u r n s   1   i f   t h i s   v e r s i o n   o f   N B A S I C   i s   a   s h a r e w a r e   v e r s i o n ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 3 6 )   R e l e a s e   n u m b e r   o f   N B A S I C   
 
 P E E K ( 1 4 9 )   A N D   1   R e s u l t   i s   1   i f   t h i s   v e r s i o n   o f   N B A S I C   s u p p o r t s   p r i n t i n g ,   o t h e r w i s e   0   
 
 P E E K ( 1 4 9 )   A N D   4   R e s u l t   i s   1   i f   t h i s   v e r s i o n   o f   N B A S I C   s u p p o r t s   w i l d c a r d s ,   o t h e r w i s e   0   
 
 P E E K ( 6 3 1 )   Z o n e   w i d t h   ( V e r s i o n   1 . 2   o r   l a t e r )   
 
 P E E K ( 6 7 7 )   R e t u r n s   1   i f   t h e   N B A S I C   w i n d o w   i s   m i n i m i z e d ,   8   i f   m a x i m i z e d   a n d   0   o t h e r w i s e   
 
 P E E K ( 7 0 6 )   R e t u r n s   1   i f   a   f i l e   i s   a t t a c h e d   t o   s c r e e n   o u t p u t ,   o t h e r w i s e   r e t u r n s   0   ( V e r s i o n   1 . 5   o r   l a t e r )   
 
 P E E K ( 7 8 8 )   R e t u r n s   1   i f   t h i s   p r o g r a m   i s   b e i n g   r u n   a s   t h e   s t a r t u p   p r o g r a m   s p e c i f i e d   i n   t h e   s t a r t u p   o p t i o n s   d i a l o g ,   o t h e r w i s e   r e t u r n s   0   ( V e r s i o n   1 . 0 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 8 2 8 )   I n s t a l l e d   p r i n t e r s   ( V e r s i o n   1 . 5   o r   l a t e r )   
 
 P E E K ( 8 7 2 )   P r i n t e r   f o n t   s i z e   ( 0 - d e f a u l t ,   6 - 2 4   f o n t   s i z e )   
 
 P E E K ( 8 7 5 )   P r i n t   s t y l e   o f   l i n e   n u m b e r s   w h e n   a   p r o g r a m   i s   p r i n t e d   ( 0 - d e f a u l t ,   1 - r i g h t   j u s t i f e d   w i t h   l e a d i n g   s p a c e s ,   2 - r i g h t   j u s t i f i e d   w i t h   l e a d i n g   0 s ,   3 - l e f t   j u s t i f i e d   w i t h   t r a i l i n g   s p a c e s )   
 
 P E E K ( 9 1 9 )   R e t u r n s   3 2   i f   t h e   N B A S I C   w i n d o w   i s   i n   f u l l   s c r e e n   m o d e ,   o t h e r w i s e   r e t u r n s   0   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 1 1 0 7 )   R e t u r n s   2 5 5   i f   N u m   L o c k   i s   o n ,   0   i f   N u m   L o c k   i s   o f f   
 
 P E E K ( 1 2 1 0 )   R e t u r n s   2 5 5   i f   S c r o l l   L o c k   i s   o n ,   0   i f   S c r o l l   L o c k   i s   o f f   
 
 P E E K ( 1 9 6 7 )   R e t u r n s   0   i f   k e y   a u t o r e p e a t   i s   o n ,   1 8   i f   k e y   a u t o r e p e a t   i s   o f f   
 
 P E E K ( 1 9 9 4 )   C u r r e n t   f o r e g r o u n d   c o l o r   
 
 P E E K ( 1 9 9 5 )   C u r r e n t   b a c k g r o u n d   c o l o r   
 
 P E E K ( 3 9 4 3 )   *   2 5 6   +   P E E K ( 3 9 4 4 )   C u r r e n t   v a l u e   o f   t h e   6 5 5 3 5   m i l l i s e c o n d   t i m e r   ( h i g h   b y t e   o f   t h e   1 6 b i t   m i l l i s e c o n d   t i m e r )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P E E K ( 3 9 4 4 )   C u r r e n t   v a l u e   o f   t h e   2 5 5   m i l l i s e c o n d   t i m e r   ( l o w   b y t e   o f   t h e   1 6 b i t   m i l l i s e c o n d   t i m e r )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P E E K ( 3 9 9 8 )   R e t u r n s   2 5 5   i f   i n v e r s e   m o d e   i s   o n ,   0   i f   i n v e r s e   m o d e   i s   o f f   
 
 P E E K ( 5 0 2 5 )   R e t u r n s   1   i f   a   k e y   i s   i n   t h e   t y p e - a h e a d   b u f f e r ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 5 7 7 6 )   R e t u r n s   2 5 5   i f   C a p s   L o c k   i s   o n ,   0   i f   C a p s   L o c k   i s   o f f   
 
 P E E K ( 5 7 9 4 )   R e t u r n s   2 5 5   i f   B R E A K   k e y   t r a p p i n g   i s   o n ,   0   i f   B R E A K   k e y   t r a p p i n g   i s   o f f   
 
 P E E K ( 7 6 9 5 )   R e t u r n s   2 5 5   i f   t r a c i n g   i s   o n ,   0   i f   t r a c i n g   i s   o f f   
 
 P E E K ( 9 5 7 5 )   *   2 5 6   +   P E E K ( 9 5 7 6 )   P r i n t e r   c o l u m n s   ( i f   m o r e   t h a n   2 5 5 )   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 9 5 7 6 )   P r i n t e r   c o l u m n s   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 9 5 8 7 )   *   2 5 6   +   P E E K ( 9 5 8 8 )   P r i n t e r   r o w s   ( i f   m o r e   t h a n   2 5 5 )   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 9 5 8 8 )   P r i n t e r   r o w s   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 9 5 9 1 )   L a s t   e r r o r   n u m b e r   
 
 P E E K ( 1 1 7 9 9 )   R e t u r n s   0   i f   t h e   P A U S E   k e y   i s   e n a b l e d ,   1 2 8   i f   t h e   P A U S E   k e y   i s   d i s a b l e d   
 
 P E E K ( 1 4 9 6 3 )   R e t u r n s   0   i f   O K   w a s   s e l e c t e d   i n   t h e   P R I N T E R ?   s t a t e m e n t   d i a l o g ,   2 5 5   i f   C a n c e l   w a s   s e l e c t e d   ( V e r s i o n   1 . 4   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 1 9 1 4 0 )   R e t u r n s   1   i f   t h e   p r o g r a m   w a s   l o a d e d   b y   t h e   s y s t e m ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 1 9 4 0 8 )   R e t u r n s   1   i f   a   p r i n t e r   i s   o p e n ,   o t h e r w i s e   r e t u r n s   0   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 1 9 9 2 0 )   R e t u r n s   2 5 5   i f   a u t o m a t i c   l i n e   n u m b e r i n g   i s   o n ,   0   i f   a u t o m a t i c   l i n e   n u m b e r i n g   i s   o f f   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 2 1 9 9 8 )   S c r e e n   r o w s   
 
 P E E K ( 2 1 9 9 9 )   S c r e e n   c o l u m n s   
 
 P E E K ( 2 2 4 6 9 )   R e t u r n s   2 5 5   i f   u p p e r   c a s e   o n l y   i s   e n a b l e d ,   0   i f   u p p e r   c a s e   o n l y   i s   d i s a b l e d   
 
 P E E K ( 2 3 7 9 2 )   R e t u r n s   2 5 5   i f   c o n f i r m a t i o n s   a r e   o n ,   0   i f   c o n f i r m a t i o n s   a r e   o f f   
 
 P E E K ( 2 7 5 2 3 )   R e t u r n s   2 5 5   i f   p r o f i l i n g   i s   o n ,   0   i f   p r o f i l i n g   i s   o f f   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 2 7 6 1 6 )   D e f a u l t   f o r e g r o u n d   c o l o r   ( 0 - 1 5 )   
 
 P E E K ( 2 7 6 1 7 )   D e f a u l t   b a c k g r o u n d   c o l o r   ( 0 - 1 5 )   
 
 P E E K ( 2 9 5 2 0 )   R e t u r n s   1   i f   t h e   p r i n t e r   i s   a t   t h e   b e g i n n i n g   o f   a   p a g e ,   o t h e r w i s e   r e t u r n s   0   ( V e r s i o n   1 . 5   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 2 9 5 3 8 )   C u r r e n t   c h a r a c t e r   s e t   ( 0 - A N S I ,   1 6 1 - G r e e k ,   1 6 2 - T u r k i s h ,   1 7 7 - H e b r e w ,   1 7 8 - A r a b i c ,   1 8 6 - B a l t i c ,   2 0 4 - R u s s i a n ,   2 3 8 - E a s t   E u r o p e ,   2 5 5 - O E M )   ( V e r s i o n   1 . 2   o r   l a t e r )   
 
 P E E K ( 2 9 5 6 0 )   C u r r e n t   p r i n t e r   p a g e   o r   p a g e s   p r i n t e d   ( V e r s i o n   1 . 5   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 3 1 5 6 7 )   R e t u r n s   2 5 5   i f   d e b u g g i n g   i s   o n ,   0   i f   d e b u g g i n g   i s   o f f   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 3 2 1 4 8 )   G r a p h i c s   f o r e g r o u n d   ( d r a w i n g )   c o l o r   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 3 2 1 4 9 )   G r a p h i c s   b a c k g r o u n d   c o l o r   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 3 3 3 0 7 )   N u m b e r   o f   s c r e e n s   c u r r e n t l y   b a c k e d   u p   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P E E K ( 3 8 3 6 0 )   R e t u r n s   1   i f   t h e r e   i s   d a t a   a v a i l a b l e   t o   b e   r e a d ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 3 9 0 3 8 )   C u r r e n t   t a b   s i z e   
 
 P E E K ( 4 1 2 2 3 )   R e t u r n s   2 1 4   i f   c o n t r o l   c h a r a c t e r   s e q u e n c e s   a r e   d i s a b l e d ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 4 2 5 1 0 )   R e t u r n s   4   i f   a   l o g   f i l e   i s   o p e n ,   o t h e r w i s e   r e t u r n s   0   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 4 4 6 3 8 )   R e t u r n s   1 2 8   i f   a   p r i n t e r   i s   a v a i l a b l e ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 4 6 0 9 0 )   R e t u r n s   2 1 4   i f   e s c a p e   s e q u e n c e s   a r e   d i s a b l e d ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 4 6 9 6 6 )   C u r r e n t   p r i n t e r   c h a r a c t e r   s e t   ( 0 - A N S I ,   1 6 1 - G r e e k ,   1 6 2 - T u r k i s h ,   1 7 7 - H e b r e w ,   1 7 8 - A r a b i c ,   1 8 6 - B a l t i c ,   2 0 4 - R u s s i a n ,   2 3 8 - E a s t   E u r o p e ,   2 5 5 - O E M )   ( V e r s i o n   1 . 2   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 4 9 5 4 9 )   C r o s s   r e f e r e n c e   o p t i o n   ( 0 - l i n e   n u m b e r s ,   1 - l a b e l s ,   2 - v a r i a b l e s ,   3 - u s e r - d e f i n e d   f u n c t i o n s ,   5 - s t a t e m e n t s ,   6 - f u n c t i o n s )   u s e d   b y   E X E C   & H D 3 F 8   
 
 P E E K ( 4 9 5 6 5 )   R e t u r n s   1   i f   t h e   c u r s o r   i s   o n ,   0   i f   t h e   c u r s o r   i s   o f f   
 
 P E E K ( 5 1 5 2 0 )   R e t u r n s   1   i f   t i m e r   e v e n t   t r a p p i n g   i s   e n a b l e d ,   0   i f   t i m e r   e v e n t   t r a p p i n g   i s   d i s a b l e d ,   o r   2 5 5   i f   t h e r e   i s   n o   t i m e r   e v e n t   t r a p p i n g   
 
 P E E K ( 5 4 3 3 6 )   O p e n   f i l e s   
 
 P E E K ( 5 8 8 7 5 )   R e t u r n s   1   i f   a   l o g   f i l e   i s   o p e n   a n d   l o g g i n g   i s   o n ,   0   i f   l o g g i n g   i s   o f f ,   o r   2 5 5   i f   t h e r e   i s   n o   l o g   f i l e   o p e n   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 5 9 1 2 5 )   R e t u r n s   1 2 8   i f   t h e   s c r e e n   i s   l o c k e d   ( L O C K   # 0 ) ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 5 9 4 0 0 )   R e t u r n s   2 5 5   i f   g r a p h i c s   h a v e   b e e n   e n a b l e d   w i t h   t h e   G R A P H   s t a t e m e n t ,   o t h e r w i s e   r e t u r n s   0   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P E E K ( 6 1 3 4 5 )   R e t u r n s   1   i f   t h e   N B A S I C   a p p l i c a t i o n   w i n d o w   h a s   f o c u s ,   o t h e r w i s e   r e t u r n s   0   
 
 P E E K ( 6 1 8 0 3 )   C u r r e n t   f o n t   s i z e   
 
 P E E K ( 6 5 1 0 4 )   R a n d o m   n u m b e r   f r o m   0   t o   2 5 5   
 
 P E E K ( 6 5 2 6 0 )   C u r r e n t   g r a p h i c s   f o n t   s i z e   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 
 
 
 
 P O K E s   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   
 
 P O K E   8 4 7 , n   S e t s   t h e   s t y l e   o f   p a g e   n u m b e r s   w h e n   a   p r o g r a m   i s   p r i n t e d   ( 0 - n o   p a g e   n u m b e r s ,   1 - p ,   2 - P a g e   p )   
 
 P O K E   8 7 2 , n   S e t s   t h e   p r i n t e r   f o n t   s i z e ( 0 - d e f a u l t ,   6 - 2 4   f o n t   s i z e )   
 
 P O K E   8 7 5 , n   S e t s   t h e   s t y l e   o f   l i n e   n u m b e r s   w h e n   a   p r o g r a m   i s   p r i n t e d   ( 0 - d e f a u l t ,   1 - r i g h t   j u s t i f e d   w i t h   l e a d i n g   s p a c e s ,   2 - r i g h t   j u s t i f i e d   w i t h   l e a d i n g   0 s ,   3 - l e f t   j u s t i f i e d   w i t h   t r a i l i n g   s p a c e s )   
 
 P O K E   1 0 3 2 , n : E X I T   P e r f o r m s   a   c o l d   r e b o o t   ( 3 )   
 
 P O K E   1 0 3 2 , n : N E W   P e r f o r m s   a   w a r m   r e b o o t   ( 3 )   
 
 P O K E   1 1 0 7 , n   T u r n s   N u m   L o c k   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   1 2 1 0 , n   T u r n s   S c r o l l   L o c k   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   1 2 2 1 , n   S h o w s   s y n t a x   e r r o r s   w h e n   p r o g r a m   l i n e s   a r e   a d d e d   o r   e d i t e d   ( 2 5 5 )   o r   d e f a u l t   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   1 9 6 6 , n   S h o w s   t h e   p r o m p t   a f t e r   e v e r y   c o m m a n d   e v e n t   ( 3 4 )   o r   d e f a u l t   ( 0 )   
 
 P O K E   1 9 6 7 , n   T u r n s   t h e   k e y   a u t o r e p e a t   o n   ( 0 )   o r   o f f   ( 1 8 )   
 
 P O K E   1 9 6 9 , n   R e s t o r e s   a   p r o g r a m   e r a s e d   b y   t h e   N E W   s t a t e m e n t   ( 2 2 4 )   ( V e r s i o n   1 . 3   o r   l a t e r )   
 
 P O K E   1 9 9 3 , n   C a u s e s   a   b e e p   i n   t h e   G E T A L N U M $ ,   G E T A L P H A $ ,   G E T D I G I T $   a n d   G E T Y N $   f u n c t i o n s   i f   a n   i n v a l i d   c h a r a c t e r   i s   p r e s s e d   o n   t h e   k e y b o a r d   ( 2 5 5 )   o r   d e f a u l t   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   1 9 9 4 , n   S e t s   t h e   f o r e g r o u n d   c o l o r   ( 0 - 1 5 )   o r   r e s e t s   t h e   f o r e g r o u n d   c o l o r   t o   t h e   d e f a u l t   ( 2 5 5 )   
 
 P O K E   1 9 9 5 , n   S e t s   t h e   b a c k g r o u n d   c o l o r   ( 0 - 1 5 )   o r   r e s e t s   t h e   b a c k g r o u n d   c o l o r   t o   t h e   d e f a u l t   ( 2 5 5 )   
 
 P O K E   1 9 9 9 , n   C l e a r s   t h e   t y p e - a h e a d   b u f f e r   ( 1 1 7 )   
 
 P O K E   3 8 0 0 , n   S e t s   t h e   c a s e   ( 6 4 - l o w e r c a s e ,   1 2 8 - u p p e r c a s e )   u s e d   b y   E X E C   & H D A 8 3   ( c h a n g e   p r o g r a m   c a s e )   
 
 P O K E   3 9 9 8 , n   T u r n s   i n v e r s e   m o d e   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   4 8 7 9 , n   D i s a b l e s   a l l   s t a t e m e n t   c o m p a t i b i l i t y   m o d e s   ( 5 )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   5 7 7 6 , n   T u r n s   C a p s   L o c k   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   5 7 9 4 , n   T u r n s   t r a p p i n g   o f   t h e   B R E A K   k e y   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   6 0 2 3 , n   T e m p o r a r i l y   d i s a b l e s   t h e   c a r r i a g e   r e t u r n   o n   t h e   l a s t   r o w   ( s c r o l l i n g )   ( 1 2 8 )   
 
 P O K E   6 7 3 2 , n   P e r f o r m s   a   w a r m   r e b o o t   ( 4 )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   6 8 1 7 , n   C a u s e s   t h e   L I S T   s t a t e m e n t   t o   p a u s e   a f t e r   e a c h   s c r e e n f u l   o f   i n f o r m a t i o n   ( 2 5 5 )   o r   d i s a b l e s   p a u s i n g   ( 0 )   
 
 P O K E   7 6 9 5 , n   T u r n s   t r a c i n g   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   8 2 0 4 , n   S c r o l l s   t h e   s c r e e n   ( 2 )   
 
 P O K E   1 0 1 3 1 , n   C l e a r s   t h e   s c r e e n   w h e n   a   p r o g r a m   e n d s   ( 8 )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 0 5 1 6 , n   E n a b l e s   ( 2 )   o r   d i s a b l e s   ( 0 )   t h e   L O C A T E   s t a t e m e n t   c o m p a t i b i l i t y   m o d e   ( L O C A T E   c o l u m n , r o w )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 1 2 6 6 , n   S e t s   t h e   s c r e e n   b o r d e r   c o l o r   ( 0 - 1 5   c o l o r ,   2 5 5 - d e f a u l t )   
 
 P O K E   1 1 7 9 9 , n   E n a b l e s   ( 0 )   o r   d i s a b l e s   ( 1 2 8 )   t h e   P A U S E   k e y   
 
 P O K E   1 2 3 9 3 , n   C a u s e s   t h e   D I R   s t a t e m e n t   t o   s o r t   t h e   d i r e c t o r y   l i s t   ( 2 5 5 )   o r   d i s a b l e s   s o r t i n g   ( 0 )   ( N O T E :   d i r e c t o r y   l i s t s   o n   W i n d o w s    N T F S   a n d   H P F S   v o l u m e s   a r e   a l w a y s   s o r t e d )   
 
 P O K E   1 2 4 2 0 , n   E n a b l e s   ( 1 5 )   o r   d i s a b l e s   ( 0 )   t h e   C L E A R   s t a t e m e n t   c o m p a t i b i l i t y   m o d e   ( c l e a r s   a l l   v a r i a b l e s )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 3 1 4 1 , n   C a u s e s   t h e   D I R   s t a t e m e n t   t o   p a u s e   a f t e r   e a c h   s c r e e n f u l   o f   i n f o r m a t i o n   ( 2 5 5 )   o r   d i s a b l e s   p a u s i n g   ( 0 )   
 
 P O K E   1 5 0 4 1 , n   E n a b l e s   ( 7 )   o r   d i s a b l e s   ( 0 )   t h e   G E T   s t a t e m e n t   c o m p a t i b i l i t y   m o d e   ( d o e s   n o t   w a i t   f o r   a   k e y p r e s s )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 7 9 8 4 , n   E n a b l e s   ( 0 )   o r   d i s a b l e s   ( 2 )   c l e a r i n g   o f   t h e   a r e a   s a v e d   b y   t h e   S C R E E N   B A C K U P   s t a t e m e n t   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 8 4 5 0 , n   S e t s   t h e   $ X R E F   s t a t e m e n t   o u t p u t   t o   u p p e r c a s e   ( 0 )   o r   l o w e r c a s e   ( 4 )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 P O K E   1 9 0 9 6 , n   C a u s e s   t h e   P R O F I L E   s t a t e m e n t   t o   p a u s e   a f t e r   e a c h   s c r e e n f u l   o f   i n f o r m a t i o n   ( 2 5 5 )   o r   d i s a b l e s   p a u s i n g   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   1 9 3 5 5 , n   R e s t o r e s   t h e   d e f a u l t   p r o m p t   ( 2 5 2 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   1 9 9 2 0 , n   E n a b l e s   ( 2 5 5 )   o r   d i s a b l e s   ( 0 )   a u t o m a t i c   l i n e   n u m b e r i n g   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   2 0 6 0 4 , n   C a u s e s   a   f o r m f e e d   ( 1 2 )   o r   a   l i n e f e e d   ( 1 3 )   o n   a n   o p e n   p r i n t e r   ( V e r s i o n   1 . 1   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   2 1 4 9 3 , n   R e s t o r e s   t h e   f o r e g r o u n d   a n d   b a c k g r o u n d   c o l o r s   w h e n   a   p r o g r a m   e n d s   ( 1 2 8 )   
 
 P O K E   2 1 5 0 5 , n   C a u s e s   t h e   K I L L   s t a t e m e n t   t o   u s   t h e   r e c y c l e   b i n   w h e n   d e l e t i n g   f i l e s   ( 1 ) ,   o r   d i s a b l e s   u s i n g   t h e   r e c y c l e   b i n   ( 0 )   ( V e r s i o n   1 . 0 . 1   o r   l a t e r )   
 
 P O K E   2 1 5 6 8 , n   C a u s e s   t h e   l o g   f i l e   t o   b e   f l u s h e d   t o   d i s k   ( 1 )   ( V e r s i o n   1 . 5   o r   l a t e r )   
 
 P O K E   2 2 4 6 9 , n   E n a b l e s   u p p e r   c a s e   o n l y   ( 2 5 5 )   o r   d i s a b l e s   u p p e r   c a s e   o n l y   ( 0 )   
 
 P O K E   2 3 0 2 8 , n   C a u s e s   t h e   V O L U M E S   s t a t e m e n t   t o   p a u s e   a f t e r   e a c h   s c r e e n f u l   o f   i n f o r m a t i o n   ( 2 5 5 )   o r   d i s a b l e s   p a u s i n g   ( 0 )   
 
 P O K E   2 3 1 6 8 , n   B l i n k i n g   c u r s o r   ( 0 )   o r   n o n - b l i n k i n g   c u r s o r   ( 2 2 4 )   
 
 P O K E   2 3 7 9 2 , n   T u r n s   c o n f i r m a t i o n s   o n   ( 2 5 5 )   o r   o f f   ( 0 )   
 
 P O K E   2 4 3 5 2 , n   C l e a r s   t h e   r e c a l l   h i s t o r y   ( 1 2 8 )   
 
 P O K E   2 6 4 3 5 , n   S h o w s   s y n t a x   e r r o r s   i f   e r r o r   t r a p p i n g   i s   e n a b l e d   ( 1 9 7 )   o r   t r a p s   s y n t a x   e r r o r s   ( 0 )   
 
 P O K E   2 7 2 1 7 , n   L i s t s   t h e   d e s t i n a t i o n   l i n e   w h e n   a   l i n e   i s   s p l i t   ( 9 2 )   o r   d e f a u l t   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   2 7 5 2 3 , n   T u r n s   p r o f i l i n g   o n   ( 2 5 5 )   o r   o f f   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   2 9 5 3 8 , n   S e l e c t s   c h a r a c t e r   s e t   ( 0 - A N S I ,   1 6 1 - G r e e k ,   1 6 2 - T u r k i s h ,   1 7 7 - H e b r e w ,   1 7 8 - A r a b i c ,   1 8 6 - B a l t i c ,   2 0 4 - R u s s i a n ,   2 3 8 - E a s t   E u r o p e ,   2 5 5 - O E M )   ( V e r s i o n   1 . 2   o r   l a t e r )   
 
 P O K E   3 0 8 0 9 , n   S e t s   t h e   i n i t i a l   g r a p h i c s   f o r e g r o u n d   a n d   b a c k g r o u n d   c o l o r s   t o   t h e   d e f a u l t   g r a p h i c s   c o l o r s   ( 0 )   o r   t h e   c u r r e n t   t e x t   f o r e g r o u n d   a n d   b a c k g r o u n d   c o l o r s   ( 5 )   ( V e r s i o n   1 . 4   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 1 1 6 0 , n   S e t s   t h e   i n i t i a l   g r a p h i c s   d r a w i n g   p o s i t i o n   t o   t h e   t o p   l e f t   o f   t h e   s c r e e n   ( 0 )   o r   t h e   c e n t e r   o f   t h e   s c r e e n   ( 1 2 7 )   ( V e r s i o n   1 . 4   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 1 5 6 7 , n   T u r n s   d e b u g g i n g   o n   ( 2 5 5 )   o r   o f f   ( 0 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 2 1 4 8 , n   S e t s   t h e   g r a p h i c s   f o r e g r o u n d   ( d r a w i n g )   c o l o r   ( 0 - 1 5   c o l o r ,   2 5 5 - d e f a u l t )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 2 1 4 9 , n   S e t s   t h e   g r a p h i c s   b a c k g r o u n d   c o l o r   ( 0 - 1 5   c o l o r ,   2 5 5 - d e f a u l t )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 2 7 8 3 , n   S h o w s   ( 0 )   o r   h i d e s   ( 5 )   t h e   c u r s o r   i n   E X E C   & H 9 3 0 5   ( p r e s s   a n y   k e y   t o   c o n t i n u e )   
 
 P O K E   3 4 3 5 2 , n   I n i t i a l i z e s   t h e   r a n d o m   n u m b e r   g e n e r a t o r   ( 5 )   
 
 P O K E   3 7 9 6 0 , n   S e t s   t h e   f o r m a t   ( 0 - a u t o ,   1 - " R E M   " ,   2 - " r e m   " ,   1 4 - " ' " ,   1 5 - " '   " )   u s e d   b y   t h e   R E M A R K   s t a t e m e n t   ( V e r s i o n   1 . 0 . 1   o r   l a t e r )   
 
 P O K E   3 8 1 4 0 , n   S e t s   t h e   f i l l   c o l o r   ( 0 - 1 5   c o l o r ,   2 5 5 - d e f a u l t )   f o r   t h e   B O X ,   C H O R D ,   C I R C L E ,   L I N E   a n d   P I E   s t a t e m e n t s   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   3 8 8 2 9 , n   R e s t o r e s   t h e   d e f a u l t   s t a r t u p   c o l o r s   ( 4 )   
 
 P O K E   3 9 0 7 2 , n   E n a b l e s   ( 1 )   o r   d i s a b l e s   ( 0 )   r e n u m b e r i n g   o f   o n l y   n u m b e r e d   l i n e s   i n   t h e   c u r r e n t   p r o g r a m   ( V e r s i o n   1 . 5   o r   l a t e r )   
 
 P O K E   4 1 2 2 3 , n   E n a b l e s   ( 0 )   o r   d i s a b l e s   ( 2 1 4 )   c o n t r o l   c h a r a c t e r   s e q u e n c e s   
 
 P O K E   4 1 3 0 7 , n   D i s p l a y s   t h e   d e f a u l t   v o l u m e   a s   t h e   p r o m p t   ( 1 0 )   o r   d e f a u l t   ( 0 )   
 
 P O K E   4 2 3 0 2 , n   C a u s e s   t h e   D I R   s t a t e m e n t   t o   u s e   w i d e   l i s t   f o r m a t   ( 2 5 5 )   o r   d i s a b l e s   w i d e   l i s t   f o r m a t   ( 0 )   
 
 P O K E   4 3 1 1 3 , n   C a u s e s   a   c a r r i a g e   r e t u r n   t o   b e   p r i n t e d   a f t e r   t h e   p r o m p t   ( 0 )   o r   d i s a b l e s   p r i n t i n g   a   c a r r i a g e   r e t u r n   a f t e r   t h e   p r o m p t   ( 1 2 7 )   
 
 P O K E   4 5 2 5 4 , n   E n a b l e s   ( 2 0 )   o r   d i s a b l e s   ( 0 )   e x t e n d e d   i n f o r m a t i o n   i n   t h e   A B O U T   s t a t e m e n t   
 
 P O K E   4 6 0 9 0 , n   E n a b l e s   ( 0 )   o r   d i s a b l e s   ( 2 1 4 )   e s c a p e   s e q u e n c e s   
 
 P O K E   4 6 9 6 6 , n   S e l e c t s   p r i n t e r   c h a r a c t e r   s e t   ( 0 - A N S I ,   1 6 1 - G r e e k ,   1 6 2 - T u r k i s h ,   1 7 7 - H e b r e w ,   1 7 8 - A r a b i c ,   1 8 6 - B a l t i c ,   2 0 4 - R u s s i a n ,   2 3 8 - E a s t   E u r o p e ,   2 5 5 - O E M )   ( V e r s i o n   1 . 2   o r   l a t e r ,   s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   4 7 9 5 2 , n   E n a b l e s   ( 8 0 )   o r   d i s a b l e s   ( 0 )   t h e   V O L U M E S   s t a t e m e n t   v e r b o s e   m o d e   
 
 P O K E   4 9 5 4 2 , n   S e t s   a   d e l a y   ( i n   m i l l i s e c o n d s )   b e t w e e n   s t a t e m e n t s   d u r i n g   e x e c u t i o n   ( 0 - 2 5 5 )   
 
 P O K E   4 9 5 4 9 , n   S e t s   t h e   o p t i o n   ( 0 - l i n e   n u m b e r s ,   1 - l a b e l s ,   2 - v a r i a b l e s ,   3 - u s e r - d e f i n e d   f u n c t i o n s ,   5 - s t a t e m e n t s ,   6 - f u n c t i o n s )   u s e d   b y   E X E C   & H D 3 F 8   ( c r o s s   r e f e r e n c e )   
 
 P O K E   4 9 5 6 5 , n   T u r n s   t h e   c u r s o r   o n   ( 1 )   o r   o f f   ( 0 )   
 
 P O K E   4 9 9 5 6 , n   C a u s e s   t h e   R E A D   s t a t e m e n t   t o   r e a d   d a t a   f r o m   t h e   f i r s t   l i n e   i n   t h e   c u r r e n t   p r o g r a m   t h a t   c o n t a i n s   a   D A T A   s t a t e m e n t   ( 2 )   
 
 P O K E   5 1 5 2 0 , n   E n a b l e s   t i m e r   e v e n t   t r a p p i n g   ( 1 ) ,   d i s a b l e s   t i m e r   e v e n t   t r a p p i n g   ( 0 ) ,   o r   s t o p s   t i m e r   e v e n t   t r a p p i n g   ( 2 5 5 )   
 
 P O K E   5 3 9 0 4 , n   C a u s e s   t h e   D U M P   s t a t e m e n t   t o   p a u s e   a f t e r   e a c h   s c r e e n f u l   o f   i n f o r m a t i o n   ( 2 5 5 )   o r   d i s a b l e s   p a u s i n g   ( 0 )   
 
 P O K E   5 8 8 7 5 , n   I f   a   l o g   f i l e   i s   o p e n ,   t u r n s   l o g g i n g   o n   ( 1 ) ,   t u r n s   l o g g i n g   o f f   ( 0 ) ,   o r   s t o p s   l o g g i n g   a n d   c l o s e s   t h e   l o g   f i l e   ( 2 5 5 )   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 P O K E   5 9 2 5 0 , n   S e t s   t h e   c o l o r   ( 0 - 1 5 )   u s e d   b y   E X E C   & H 4 8 1 2   ( c l e a r   s c r e e n )   
 
 P O K E   5 9 3 2 5 , n   I f   m u l t i p l e   s c r e e n s   a r e   r e s t o r e d   b y   t h e   S C R E E N   R E S T O R E   s t a t e m e n t ,   u p d a t e s   s c r e e n   a f t e r   e a c h   r e s t o r e   ( 0 )   o r   u p d a t e s   s c r e e n   o n l y   a f t e r   l a s t   r e s t o r e   ( 2 5 5 )   ( V e r s i o n   1 . 4   o r   l a t e r )   
 
 
 
 
 
 E X E C s   
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
   
 
 E X E C   & H 4 4 D 0   L i s t s   a v a i l a b l e   p r i n t e r s   
 
 E X E C   & H 4 8 1 2   C l e a r s   t h e   s c r e e n   u s i n g   t h e   c o l o r   i n   m e m o r y   l o c a t i o n   5 9 2 5 0   
 
 E X E C   & H 5 2 B C   D i s p l a y s   t h e   s t a r t u p   m e s s a g e   i f   s p e c i f i e d   ( s t a n d a r d   v e r s i o n   o n l y )   
 
 E X E C   & H 9 3 0 5   D i s p l a y s   " P r e s s   a n y   k e y   t o   c o n t i n u e "   a n d   w a i t s   f o r   a   k e y p r e s s   
 
 E X E C   & H D 3 F 8   C r o s s   r e f e r e n c e s   t h e   c u r r e n t   p r o g r a m   u s i n g   t h e   o p t i o n   i n   m e m o r y   l o c a t i o n   4 9 5 4 9   
 
 E X E C   & H D A 8 3   C h a n g e s   t h e   c u r r e n t   p r o g r a m   t o   u p p e r c a s e   i f   t h e   v a l u e   i n   m e m o r y   l o c a t i o n   3 8 0 0   i s   1 2 8   o r   l o w e r c a s e   i f   t h e   v a l u e   i s   6 4   
 
 